package com.todo.event.activity.iface.backend.request;

import com.todo.common.common.entity.CurrentStaff;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author azhebuxing
 * @date 2025/1/13 23:48
 * @description
 */
@Data
@Schema(title = "启用事件详情请求参数", description = "启用事件详情请求参数")
public class EnableEventDetailReq {

private CurrentStaff _staff;

    @Schema(title = "主键", description = "主键")
    private Long id;

    @Schema(title = "是否上线", description = "是否上线")
    private Boolean enable;

    public boolean baseCheck() {
        if (id == null || enable == null){
            return false;
        }
        return true;
    }
}
